package alo.p6;

/**
 * @ClassName ThreadedBinaryTreeNode
 * @Description 线索二叉树结点定义
 * @Author Fanxc
 * @DATE 2021/2/6 10:49
 * @Version 1.0
 */
public class ThreadedBinaryTreeNode {
    private ThreadedBinaryTreeNode left;
    private int Ltag;
    private int data;
    private int Rtag;
    private ThreadedBinaryTreeNode right;

    public ThreadedBinaryTreeNode(int data) {
        this.data = data;
    }

    public int getData() {
        return data;
    }

    public void setData(int data) {
        this.data = data;
    }

    public ThreadedBinaryTreeNode getLeft() {
        return left;
    }

    public void setLeft(ThreadedBinaryTreeNode left) {
        this.left = left;
    }

    public ThreadedBinaryTreeNode getRight() {
        return right;
    }

    public void setRight(ThreadedBinaryTreeNode right) {
        this.right = right;
    }

    public int getLtag() {
        return Ltag;
    }

    public void setLtag(int ltag) {
        Ltag = ltag;
    }

    public int getRtag() {
        return Rtag;
    }

    public void setRtag(int rtag) {
        Rtag = rtag;
    }
}
